#include <iostream>
using namespace std;
class Object
{
    int weight;
public:
    void setWeight(int i)
    {
        weight = i;
    }
    void print()
    {
        cout << "Weight = " << weight << endl;
    }
};
class Box
{
    int Weight, Height, Width;
public:
    void setHeight(int i)
    {
        Height = i;
    }
    void setWidth(int i)
    {
        Width = i;
    }
    void setWeight(int i)
    {
        Weight = i;
    }
    void print()
    {
        cout << "Weight = " << Weight << endl;
    }
    void printBox()
    {
        cout << "Box Weight = " << Weight << endl;
        cout << "Box Height = " << Height << endl;
        cout << "Box Width = " << Width;
    }
};
int main() {

    Object o;

    o.setWeight(3);

    o.print();



    Box a;

    a.setHeight(5);

    a.setWidth(5);

    a.setWeight(100);

    a.print();

    a.printBox();

    return 0;

}